package com.wframe.project.jnd.vo;

import java.math.BigDecimal;
import java.util.List;

public class ClsMapVo {

	private String id;
	private String code;
	private String name;
	private Integer orderno;
	private String photo;
	private List<ClsMapVo> sublist;
	
	public ClsMapVo(){
	}
	public ClsMapVo(String id,String name){
		this.id=id;
		this.name=name;
	}
	public ClsMapVo(String id,String name,String photo){
		this.id=id;
		this.name=name;
		this.photo = photo;
	}
	public ClsMapVo(String id,String name,String code,Integer orderno){
		this.id=id;
		this.name=name;
		this.code=code;
		this.orderno=orderno;
	}
	public ClsMapVo(String id,String name,String code,Integer orderno,String photo){
		this.id=id;
		this.name=name;
		this.code=code;
		this.orderno=orderno;
		this.photo = photo;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public List<ClsMapVo> getSublist() {
		return sublist;
	}
	public void setSublist(List<ClsMapVo> sublist) {
		this.sublist = sublist;
	}
	public Integer getOrderno() {
		if(orderno==null)orderno=99999;
		return orderno;
	}
	public void setOrderno(Integer orderno) {
		this.orderno = orderno;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}
}
